package JavaSE.AnnotationLearning.TestFramework;

/**
 *  被测试类
 */
public class Calculator {
    @Check
    public int add(int a, int b) {
        String s = null;
        s.toString();
        return a+b;
    }
    @Check
    public int sub(int a, int b) {
        System.out.println("sub: " + (a - b));
        return a-b;
    }
    @Check
    public int mul(int a, int b) {
        System.out.println("mul: " + (a * b));
        return a*b;
    }
    @Check
    public int div(int a, int b) {
        System.out.println("div: " + (a / b));
        return a/b;
    }

    @Check
    public void noneCheck(int a, int b) {
        System.out.println("---------(●ˇ∀ˇ●)----------");
    }
}
